package com.wst.system.security.entity.vo;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

@Data
public class SysUserRoleEntityVo implements Serializable {

    @NotNull(message = "用户id不得为空")
    private Integer userId;

    @NotNull(message = "角色id列表不得为空")
    private List<String> roleNos;
}
